Actions

EmSys

Git - User on his-her computer

From EdWiki

User on his/her computer

  • e.g.,
$ mkdir my_project
$ cd my_project
$ git init
Initialized empty Git repository in /home/jshankar/my_project/.git/ 
$ echo “Hello World” > hello.txt
$ git add .
$ git commit -m ‘Check in number one’
$ git remote add origin gituser@shukra.cedt.iisc.ernet.in:/opt/gitrepo/my_project.git
$ git push origin master