• Create a new git repository: git inti
  • Add all files to git repo: git add *
  • Commit changes: =git commit -am "My comment"=
  • Create a branch and move to it: git checkout -b branch-name
  • Setting up a remote origin: git remote add origin login@IP/path/to/repository
  • Merge branches: git branch topic για να εισάγω τις αλλαγές του topic στο branch που βρίσκομαι.
  • Force push git push origin master --force
Posted on .
blog comments powered by Disqus