You can turn a folder within a Git repository into a brand new repository.
If you create a new clone of the repository, you won't lose any of your Git history or changes when you split a folder into a separate repository.
You can turn a folder within a Git repository into a brand new repository.
If you create a new clone of the repository, you won't lose any of your Git history or changes when you split a folder into a separate repository.
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
###################################### | |
# PA added | |
# | |
# 3-line prompt with git integration | |
# | |
# ┌────[user@host ]-( 0 jobs ) - -- - - - - - [ 2019-11-11 | 11:11:11 ] | |
# ⚡ /present/working/Directory ] -( master ) | |
# └──▶ | |
# |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
# | |
# Fancy two-line prompt with git integration | |
# | |
# ┌───=[ specious :: sharp -( 0 )-[ ~ ]-( master ) | |
# └──( | |
# | |
parse_git_dirty () { | |
[[ $(git status 2> /dev/null | tail -1) != "nothing to commit, working tree clean" ]] && echo "*" | |
} |
# A two-line colored Bash prompt (PS1) with Git branch and a line decoration | |
# which adjusts automatically to the width of the terminal. | |
# Recognizes and shows Git, SVN and Fossil branch/revision. | |
# Screenshot: http://img194.imageshack.us/img194/2154/twolineprompt.png | |
# Michal Kottman, 2012 | |
RESET="\[\033[0m\]" | |
RED="\[\033[0;31m\]" | |
GREEN="\[\033[01;32m\]" | |
BLUE="\[\033[01;34m\]" |
@ECHO off | |
:top | |
CLS | |
ECHO Choose a shell: | |
ECHO [1] cmd | |
ECHO [2] bash | |
ECHO [3] PowerShell | |
ECHO [4] Python | |
ECHO. | |
ECHO [5] restart elevated |
!Vortex pok3r layout for non-pok3r keyboards on linux | |
!create .Xmodmap in the root of home directory | |
!edit, save, then implement for session with xmodmap .Xmodmap | |
!permenantly implement by running at startup with DE or edit the global startup script /etc/X11/xinit/xinitrc | |
!'xmodmap /home/USER_PROFILE_NAME/.Xmodmap' | |
!xev to find key information | |
!--------- |