Git Command
git clone <URL>
Clones the remote repository to local
git status
Check local updates
git add .
Adds on tracked files into staging
git commit -m "MESSAGE"
Commits change into git history
git push -u origin master
Push local change to remote
git pull --rebase
Pull remote change to local repository
git init
Initialize local folder as a git repository
git checkout .
Revert changes not yet staging
git reset
Undo staging change (from git add .)
gitk
Show git history
Clones the remote repository to local
git status
Check local updates
git add .
Adds on tracked files into staging
git commit -m "MESSAGE"
Commits change into git history
git push -u origin master
Push local change to remote
git pull --rebase
Pull remote change to local repository
git init
Initialize local folder as a git repository
git checkout .
Revert changes not yet staging
git reset
Undo staging change (from git add .)
gitk
Show git history
Commentaires
Publier un commentaire