Navigation Menu

Skip to content

juliansotoca/svcmgt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svcmgt

Manage global services

run setup.sh to install required packages

#Add new files to the project: git add www

git commit -m "new project"

git push -u origin master

#How to setup git sudo apt-get install -y git-core

git config --global user.name "Julian Garcia-Sotoca"

git config --global user.email "juliansotoca@gmail.com"

git init

git remote add origin git@github.com:juliansotoca/svcmgt.git

#create and copy ssh key: ssh-keygen -t rsa

more /home/vagrant/.ssh/id_rsa.pub

#test connectivity

ssh -T git@github.com

#clone repo $ git clone https://github.com/juliansotoca/svcmgt.git

#update repo $ git pull origin

#remove sensitive data $ FILE=file/to/delete $ git pull $ git fetch --tags $ git filter-branch --index-filter 'git rm --cached --ignore-unmatch ${FILE}' --tag-name-filter 'cat' HEAD --all $ git push origin master --force $ git filter-branch --index-filter 'git rm --cached --ignore-unmatch ${FILE}' --tag-name-filter 'cat' HEAD --all $ git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch ${FILE}' --tag-name-filter 'cat' HEAD --all

source: http://www.azhowto.com/removing-sensitive-data-from-git/

About

Manage global services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published