I started my advanteure with linux. This is what came up out of it
$ git clone git@github.com:RafalSladek/myLinux.git
Since all the commit history are in the “.git” folder, we have to remove it. So, go inside your project folder. For me the project folder is ‘myproject’.
$ cd myLinux
And delete the ‘.git folder’ with this command.
$ sudo rm .git -r
Now, let us re-initialize the repository.
$ git init
$ git remote add origin git@github.com:RafalSladek/myLinux.git
$ git remote -v
Next, let us add all our files and commit the changes.
$ git add --all
$ git commit -am 'initial commit'
Now, since we just have one commit i.e ‘initial commit’. Let us force push update to our master branch of our project repository.
$ git push -f origin master
Go and check your project repository in github, you should see only one commit.
In Jan 2016 I discovered tmux, thanks to Alex. A good documentation you will find here and a shortcuts cheet sheet
A helpfull tool for bash is git completion, which is part of bash-completion Some links which I find usefull :
- Install sshpass on mac
curl -O -L https://fossies.org/linux/privat/sshpass-1.06.tar.gz && tar xvzf sshpass-1.06.tar.gz
cd sshpass-1.06
./configure
sudo make install
- Install ansible on mac