Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to rename a file inside git bash

$ git clone git@github.com:username/reponame.git
$ cd reponame
$ git mv README README.md
$ git commit -m "renamed"
$ git push origin master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rename #file #git #bash
ADD COMMENT
Topic
Name
6+8 =