Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git bash in cmd

"C:Program FilesGitinsh.exe" --login
Comment

git bash

--::-- 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 shell

C:UsersUsernameAppDataLocalGitHubGitHub.appref-ms --open-shell
Comment

Git in Bash

. ~/git-completion.bash
Comment

Git bash

mv  -v ~/Downloads/* ~/Videos/
Comment

git bash command

//how to check the repository name in git bash
$ git config --get remote.origin.url
Comment

PREVIOUS NEXT
Code Example
Shell :: curl with regex 
Shell :: git repo 
Shell :: delete a word in Linux command line prompt 
Shell :: admob expo 
Shell :: shell: how to grep a string 
Shell :: remove a non empty directory 
Shell :: git warning lf will be replaced by crlf 
Shell :: printf linux 
Shell :: Set Up Your Username and Email in Git Command 
Shell :: diff between two files 
Shell :: turn a folder into a git repo 
Shell :: install ghost cms locally help of docker 
Shell :: how to uninstall from /var to increase its size 
Shell :: O arquivo C:UsersjukinAppDataRoaming pmyarn.ps1 
Shell :: xrandr 1704x1000 
Shell :: how to save a specific file in stash 
Shell :: putting remote access to rpi zero 
Shell :: The following signatures were invali gpg 
Shell :: mac open programm bash 
Shell :: ubuntu extract img.xz 
Shell :: agregar sudoers a user centos 7 
Shell :: vim append to line 
Shell :: how to install random module in python 
Shell :: store all terminal output in a file 
Shell :: ubuntu 18.04 create folders in dock 
Shell :: kipping acquire of configured file 
Shell :: centos who connected to server 
Shell :: rsync follow symlink 
Shell :: yum webmin reinstall 
Shell :: intellij cannot access 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =