Git
Git workflow
- Clone the repo
git clone https://github.com/someorg/reponame.git
-
a. Go into the repository directory
cd reponame
-
b. Pull from master
git checkout master
git pull
-
Create a branch
git checkout –b username/feature_description
-
git push origin username/feature_description
-
Update files
git add .
-
Commit
git commit –m “some message"
-
git push
-
git pull
-
See the changes made
git diff