admtuku / HelloGit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To submit changes to any file

  • go to that directory from git bash
  • git add "filename.type"
  • git commit -m "anotherCommit"
  • git push origin master // eikhane origin agei add thakte hobe, jodi na thake then add it with this command: git remote add origin https://github.com/admtuku/HelloGit.git

** To go back to any previous commit

** To Know your current HEAD position

** To View log of your changes

  • git log

** delete a push :D

  • git push -f origin HEAD^:master example: git push -f origin a8330c2:master

** If you are messed and want to get sync with origin up to date

**when pushing causes prob

  • git push origin HEAD:master

#hello Git from Linux

About