Git

Git workflow

  1. Clone the repo

git clone https://github.com/someorg/reponame.git

  1. a. Go into the repository directory cd reponame

  2. b. Pull from master git checkout master git pull

  3. Create a branch

git checkout –b username/feature_description

  1. git push origin username/feature_description

  2. Update files git add .

  3. Commit

git commit –m “some message"

  1. git push

  2. git pull

  3. See the changes made

git diff