dotfiles's Introduction
# https://news.ycombinator.com/item?id=25549462 # dotfiles in this directory are managed in git # to start from scratch: # https://github.com/tmm/dotfiles # alias git_dotfiles="env GIT_WORK_TREE=$HOME GIT_DIR=$HOME/.dotfiles git" # alias git_dotfiles="git --git-dir=$HOME/.dotfiles --work-tree=$HOME" # #./git_dotfiles is a command that works on the bare directory # # https://www.atlassian.com/git/tutorials/dotfiles # the gotcha is that you won't have remote tracking branches so you need to git push origin # to bootstrap a new machine: curl -Lks https://raw.githubusercontent.com/poleguy/dotfiles/master/dotfiles_setup | /bin/bash # note, that gitignore includes everything, so anything new most be added explicitly echo "*" >> .gitignore # after bootstrap, you can use ./git_dotfiles which is easier to find than remembering the alias # to add files: ./git_dotfiles add readme.md -f #status ./git_dotfiles satus # check for updates ./git_dotfiles difftool # the equivalent of 'meld .' is: ./git_dotfiles difftool --dir-diff # or optionally... # https://stackoverflow.com/questions/34119866/setting-up-and-using-meld-as-your-git-difftool-and-mergetool #add updates ./git_dotfiles add -u ./git_dotfiles commit ./git_dotfiles push origin master # to pull into a new computer: # https://news.ycombinator.com/item?id=25549462 #git clone https://github.com/poleguy/dotfiles.git #cd dotfiles #./setup # set remote # ./git_dotfiles remote set-url origin [email protected]:poleguy/dotfiles.git # set remote via ssh if necessary # https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port # /git_dotfiles remote set-url origin ssh://[email protected]:443/poleguy/dotfiles.git
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.