Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git clone in current directory

git clone git@github.com:user/my-project.git .
Comment

how to git clone into a directory

git clone git@github.com:whatever folder-name
git clone git@github.com:whatever .
Comment

git clone directory from repository

git clone [repo]
cd [name of sub-dir]
git filter-branch --prune-empty --subdirectory-filter [path to sub-dir] HEAD
Comment

PREVIOUS NEXT
Code Example
Shell :: igraph 
Shell :: remove folder ubuntu 
Shell :: pulseaudio check if runnings 
Shell :: ffprobe number of frames 
Shell :: move all files in a directory linux 
Shell :: create jar with maven commandline 
Shell :: windows 10 sfc scan 
Shell :: find string terminal 
Shell :: push local branch to remote github 
Shell :: git clone with subrepos 
Shell :: move a file in git 
Shell :: terminal command to create new file 
Shell :: install prettier npm 
Shell :: git push u origin master 
Shell :: change message from last pushed commit 
Shell :: export docker container 
Shell :: home brew mac 
Shell :: mp4 to mp3 converter bat ffmpeg 
Shell :: forward port with ssh 
Shell :: install powershell on windows 
Shell :: ubuntu check tomcat version 
Shell :: how to install sshpass on mac 
Shell :: install bootstrap in angular 
Shell :: refresh prometheus configuration 
Shell :: vim remove line by pattern from all files 
Shell :: github download specific folder 
Shell :: Error: Cannot tap homebrew/cask: invalid syntax in tap! 
Shell :: enable ssh ubuntu 
Shell :: install discord 
Shell :: how to undo a local commit 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =