- https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging
- https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows
Showing posts with label git. Show all posts
Showing posts with label git. Show all posts
Saturday, 23 June 2018
key git book pages to read
Friday, 29 April 2016
git: merge request
- git checkout master
- git pull
- git branch -b <mybranch>
- <changes>
- git commit -am'My change commit'
- git push origin <mybranch>
Wednesday, 19 June 2013
tsunami-udp: faster than rsync
- build
- sudo apt-get install git gcc
- sudo apt-get install automake autoconf
- git clone git://github.com/rriley/tsunami-udp.git
- cd tsunami-udp
- ./recompile.sh
- sudo make install
- run
- you'll need a port open to allow direct connection from client to server
- unfortunately, this doesn't work through NAT firewalls alone
- firewall / port forwarding
- to server, TCP, 46224 by default
- to client, UDP, 46224 by default
- start up server
- tsunamid myfile.gz
- connect with client
- tsunami set rate 5M connect myserver.domain.com get myfile.gz
- it will flood your connection if you dont set rate properly
- documentation
- http://tsunami-udp.cvs.sourceforge.net/viewvc/tsunami-udp/docs/USAGE.txt
- splits files automatically
- allows wildcards when running server and client commands, "*", namely
- client will auto-find all files served, one after the next
- use forward-slash, i.e. get \*, for client command
- so bash doesn't intrepret the asterisk
- undocumented
- doesn't do subdirectories, better tar that up and have plenty of disk space
Monday, 10 June 2013
git push/pull just current branch
- git config --global push.default tracking
- git config --global pull.default tracking
Wednesday, 27 March 2013
github and multiple accounts, git keeps asking for password
Taken: http://net.tutsplus.com/tutorials/tools-and-tips/how-to-work-with-github-and-multiple-accounts/
- ssh-keygen -t rsa -C "me@mycompany.com" -f ~/.ssh/id_rsa_mycompany
- ssh-add ~/.ssh/id_rsa_mycompany
- Add below to ~/.ssh/config
- git clone git@github-mycompany:mycompany/myrepo.git
Host github-mycompany
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_mycompany
Labels:
accounts,
asking,
asking for,
git,
github,
home,
more than one,
multiple,
multiple accounts,
password,
repos,
ssh,
ssh-add,
ssh-keygen,
work
Subscribe to:
Posts (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
CRITICAL: AWS now offers internal VPC DNS! Below is no longer necessary AFAIK. Woo hoo! http://aws.amazon.com/about-aws/whats-new/2014/...
-
build sudo apt-get install git gcc sudo apt-get install automake autoconf git clone git://github.com/rriley/tsunami-udp.git cd tsunam...
-
From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972#c4 Assumptions: jEdit was installed into /Applications directory. Close any...