Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to commit to github from terminal

$ git add .
# Adds the files in the local repository and stages them for commit. To unstage a file, use 'git reset HEAD YOUR-FILE'.
$ git commit -m "First commit"
# Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.
$ git push origin main
# Pushes the changes in your local repository up to the remote repository you specified as the origin
Comment

how to commit to github from terminal

git add . && git commit -m "initial commit"
Comment

PREVIOUS NEXT
Code Example
Shell :: git stash show 
Shell :: git name repository 
Shell :: edit iptables 
Shell :: install cairo 
Shell :: generate 6 digit random number ruby 
Shell :: uninstall mono ubuntu 
Shell :: apt remove 
Shell :: windows proxy for local system 
Shell :: install cpanm 
Shell :: open folder in gui from terminal linux 
Shell :: xcopy folder to another folder 
Shell :: where to check elastic beanstalk logs 
Shell :: delete first column bash 
Shell :: @react-native-community/netinfo 
Shell :: docker active log 
Shell :: bash scripting string comparison 
Shell :: kubernetes get inside pod 
Shell :: install powershell ubuntu 
Shell :: remove ds_store git 
Shell :: check git settings terminal 
Shell :: git remove remote file keep local 
Shell :: instalar docker compose ubuntu 
Shell :: get your ip address from terminal 
Shell :: get list of directories bash 
Shell :: pwd in cmd 
Shell :: install php 8 debian 
Shell :: double quotes inside double quotes bash 
Shell :: how to change directory if folder name have space 
Shell :: git ssh key linux 
Shell :: conda install opencv 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =