Month: March 2017

Git command

  • Kéo code master về branch có sẵn (How to merge remote master to local branch)

– Checkout về brach cần merger:

– Run :

git fetch
git rebase origin/master

delete file and push to remote

git commit -a -m "A file was deleted"
git push


revert deleted file:

git ls-files -d | xargs git checkout --

 show conflict files

git diff --name-only --diff-filter=U