Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

move a file in git

git mv mycoolclass.cs myCoolClass.cs
Comment

git move file

# Short answer:
git mv filename new_filename
or
git mv /path/to/file_location /path/to/new/file_location

# Note, if you manually move a file or rename it (w/o git mv) git may
# 	treat the moved/renamed file as a new file 
# Note, it's fairly popular to use the alias gm for git mv
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install deb file in kali linux 
Shell :: install spring boot on ubuntu 
Shell :: apache start stop restart 
Shell :: terminal command to create new file 
Shell :: angular add universal 
Shell :: prettier code formatter is removing ; 
Shell :: windows how to install and use RSAT tools 
Shell :: git push u origin master 
Shell :: run docker as non root 
Shell :: sudo shutdown 
Shell :: linux redirect everything (stdout and stderr) to file 
Shell :: how to install brew on mac 
Shell :: Invalid response body while trying to fetch 
Shell :: bash rename foldr 
Shell :: forward port with ssh 
Shell :: install pip linux 
Shell :: git checkout head 
Shell :: git push heroku master everything up-to-date 
Shell :: how to start mongodb in linux 
Shell :: change file permissions terminal 
Shell :: bash remove first character from string 
Shell :: linux check if using wayland or x11 
Shell :: remove package from laravel 
Shell :: linux back cd 
Shell :: windows check installed fonts 
Shell :: git change branch remote 
Shell :: how to go back in terminal 
Shell :: angular compile cache clear 
Shell :: linux cp from one directory to another 
Shell :: crontab save 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =