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 :: shell pipe 
Shell :: git add . 
Shell :: install carla for manjaro 
Shell :: install ghost cms locally help of docker 
Shell :: install erlang 20 mac brew 
Shell :: Examples of add-apt-repository and updating the APT cache 
Shell :: connect to wifi with wpa supplicant raspberry pi 
Shell :: O arquivo C:UsersjukinAppDataRoaming pmyarn.ps1 
Shell :: wsl lost internet connection 
Shell :: tiny core shutdown 
Shell :: download from web linux bash 
Shell :: Install Deno - Scoop (Windows) 
Shell :: sed wrap each line in quotes 
Shell :: Default umask in /etc/login.defs could be more strict like 027 
Shell :: mac open programm bash 
Shell :: Create a bash script that asks users to change permission 
Shell :: view git branch changes graphically 
Shell :: osx remove env 
Shell :: Change user/group for directory and all contents 
Shell :: git by nouman 
Shell :: homebrew gnu screen 
Shell :: npm i install react boostrapp grid 
Shell :: github actions cache apt packages 
Shell :: how to put access.log in gitignore 
Shell :: /dev/block/mmcblk0p38 
Shell :: open jpg command line linuc 
Shell :: cmd concatenate files 
Shell :: /usr/bin/env: «node»: The file or directory does not exist nvm 
Shell :: ubuntu vmware mouse buttons 
Shell :: dart vlc flutter 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =