برای شروع
git init
git add filename.extension or git add -A
git diff Head
git reset page.html or git reset
git commit -m "your comment"
git branch
git branch branchname
git checkout branchname
git rm filename.ext
git branch -d branchname
git checkout master (this is destination) git merge branchname (this is source) or git merge origin/master
git remote add origin https://gitlab.com/gitrepo/gitdestination.git
git push origin master
git pull origin master
git remote -v
git tag -a v2.0 -m "your message"
git commit --amend -m "Your new commit message"
git reset Head~1
git reset --hard
error: Your local changes to the following files would be overwritten by merge:
git stash push --include-untracked
git push -f origin master
git clone [remote_address_here] my_repo cd my_repo git reset --hard [ENTER HERE THE COMMIT HASH YOU WANT]
تا کنون نظری داده نشده است .
اولین کسی باشید که دیدگاه خود را ثبت می کند .
لطفا منتظر بمانید...