Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to make a folder into git repo

$ git remote add origin git@github.com:username/new_repo
$ git push -u origin master
Comment

turn a folder into a git repo

$ git filter-branch --prune-empty --subdirectory-filter FOLDER-NAME  BRANCH-NAME 
  # Filter the specified branch in your directory and remove empty commits
  > Rewrite 48dc599c80e20527ed902928085e7861e6b3cbe6 (89/89)
  > Ref 'refs/heads/BRANCH-NAME' was rewritten
Comment

PREVIOUS NEXT
Code Example
Shell :: apt imagemagick 
Shell :: how to install morgan in node js 
Shell :: ubuntu terminal autocomplete not working 
Shell :: react navigation react native 
Shell :: how to run .sh script in mac 
Shell :: windows check installed fonts 
Shell :: set up ssh windows 10 
Shell :: pod install react native failed 
Shell :: bash how to quotes work 
Shell :: record audio with ffmpeg 
Shell :: git merge main into branch 
Shell :: View network transfer RX / TX (Linux) 
Shell :: angular bootstrap install 
Shell :: google font npm install 
Shell :: how to stop a program from running linux 
Shell :: windows execute powershell script define user 
Shell :: Install pgAdmin for desktop mode 
Shell :: kubernetes on windows 10 
Shell :: how many repositories can be created in github 
Shell :: pacman remove package 
Shell :: linux print system info 
Shell :: mongodb install ubuntu 20.04 
Shell :: how to pull changes from master to forked repo 
Shell :: how to install pycord 
Shell :: difference between two files linux 
Shell :: push code to github vscode 
Shell :: bash find text in specific file 
Shell :: git add except files 
Shell :: ubuntu folder size 
Shell :: git clone commit hash 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =