upasanadci / wdt_cmds

It includes installation steps for Ubuntu,IDs and git-hub environment
0 stars 0 forks source link

Git Hub Commands

Configure the author name and email address to be used with zour commits.

create a new local repository

checkout a repository

Add files

commit changes to head (not to remote repo)

commit any file that you have added with git add

send changes to the master branch of your remote repository

if you have not connected your local repo to a remote server

list all the remote repo

create a new branch

switch from one branch to another

list all the branches in your repo also tell your current branch

delete the branch

push the branch to your remote repository

push all the branches to remote repositorz

fetch and merge changes on the remote server

to merge a branch

analysis the changes

history

SSh key setup

-  ssh-keygen -t ed25519 -C "your email address"
-  ls -al ~/.ssh
-  cd .ssh
- cat ~/.ssh/id_ed25519.pub