Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git add .

git add .
git commit -m "intial commit"
git push
Comment

git add

//to add a single file
git add <FILE_NAME>

//to add all changed files
git add -A
Comment

git add command

//to add file to the repository
1. git add youFilePath

//if you want to add all file then
2. git add .
Comment

git add

echo "# SpringSecurity" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/dollarkid1/SpringSecurity.git
git push -u origin main
Comment

adding to git

git remote add origin https://github.com/Kabuye-Rogers256/ubey.git
git branch -M main
git push -u origin main
Comment

git add

git status
git add .
git commit -m "describe what you did to the code in here in present tense" 
Comment

Git add

git add .

git commit -m "Bug Fixed"

git push
Comment

git add

--::-- Using SSH --::--
#### Create SSH key ####
$ ssh-keygen -t ed25519 -C "<YourEmail>@<Domain>.com"

#### Copy the SSH key ####
$ cat /path/to/private_key_file.pub

#### Add the SSH key to your GitHub account ####

$ echo "# myPracticeRepo" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git config core.sshCommand 'ssh -i /path/to/private_key_file'
$ git remote add origin git@github.com:<UserName>/<RepoName>.git
$ git push -u origin main


--::-- Using HTML --::--
$ echo "# myPracticeRepo" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git remote add origin https://github.com/<UserName>/<RepoName>.git
$ git push -u origin main
Comment

git add .

git add <file> or you can do git add -A to add all files
Comment

git add

//to add file to the repository
1. git add yourFilePath

//if you want to add all file then
2. git add .
Comment

git add

git add
Comment

PREVIOUS NEXT
Code Example
Shell :: cmd change start in 
Shell :: ubuntu adding a monitor 
Shell :: install ghost cms locally help of docker 
Shell :: bash shuffle lines 
Shell :: linux systeme de fichier 
Shell :: ssh set owner 
Shell :: set up vm arch 
Shell :: npm install electron-reload 
Shell :: linux source env file 
Shell :: install kali software manager support 
Shell :: powershell equivalent of rm 
Shell :: how to start payara server 
Shell :: symbolic link wsl mnt .ssh 
Shell :: bash trim binary output 
Shell :: bash check if cd successful 
Shell :: ffmpeg scale but keep aspect ratio 
Shell :: add user to vboxuser gruop arch 
Shell :: surface area of a spherical shell 
Shell :: install lastools conda 
Shell :: how to make cmd full screen 
Shell :: disable new git experience visual studio 
Shell :: workspace switch shortcur Gnome 
Shell :: kipping acquire of configured file 
Shell :: react-native app examples github 
Shell :: Npm install instagram-private-api 
Shell :: asus router reset cache 
Shell :: iris eyesaver 
Shell :: debian 11 openvpn client option missing in network vpn after openvpm installition 
Shell :: salesforce github format 
Shell :: how to upgrade .rpm file in linux 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =