menu search more_vert

How to Updating Github repository with changes from local project

watch_later 2018/06/18



1- Updates files in the working tree to match the version in the index or the specified tree.
$ git checkout 

2- Adds the files in the local repository and stages them for commit.
$ git add .

3- Commits the tracked changes and prepares them to be pushed to a remote repository.
git commit -m "add your commit"

4- Pushes the changes in your local repository up to the remote repository
git push origin master




sentiment_satisfied Emoticon

expand_less