Skip to main content

Posts

Showing posts with the label github

Github - Basic commands

Github - Basic commands The windows portable git will work in most cases when you are working on Windows OS. Initiate the git in the current folder. Right click and open the git bash.  Opening the git client If on command line, git init should work. git init Cloning the entire remote repo to a local location with root folder name as the repo name. git clone https://github.com/rapidsailor/ShellScripts Now navigate to the the newly created folders. Use cd command as needed. Make some code changes.  To verify the changes and status git status Add any new files to the repo or add the changes to existing files. git add Commit the changes Commits all the changes to the remote repo. This may ask for your github user and password. git commit -m “comment for check-in” Note : Any file changes to be done using the vi, ( i for insert mode, put in some comments. All the lines starting with # will be ignored. put some new lines without # as starting char.) esc for going to com...