Git Status, Git Commit, Git Add


To Edit File in Git cd to directory: vi views/index.jade (File Name) Edit the file in VI Editor and save :qw! To see Status:¬†git status # On branch master # Changes to be committed: # (use “git reset HEAD <file>…” to unstage) # # modified: views/index.jade # To Commit git commit -m “change header text”Continue reading “Git Status, Git Commit, Git Add”

Setting up Priate Key Access


Setting up Priate Key Access\ An easy way to authenticate with remote git server like GitHub is to use an ssh key pair. On a CentOs environment, you can generate an ssh key pair like this ssh-keygen -t rsa -b 4096 After generating the key pair, copy the contents of ~/.ssh/id_rsa.pub. [root@aryan-34252e5f2 ~]# ssh-keygen -tContinue reading “Setting up Priate Key Access”