User contributions for Admin
Jump to navigation
Jump to search
9 February 2024
- 01:5501:55, 9 February 2024 diff hist +30 Branches No edit summary
- 01:5401:54, 9 February 2024 diff hist +61 Branches No edit summary
- 01:5301:53, 9 February 2024 diff hist +54 Branches No edit summary
- 01:5101:51, 9 February 2024 diff hist +244 Branches No edit summary
- 01:4801:48, 9 February 2024 diff hist +65 Branches No edit summary
- 01:4701:47, 9 February 2024 diff hist +11 Branches No edit summary
- 01:4701:47, 9 February 2024 diff hist +33 Branches No edit summary
- 01:4501:45, 9 February 2024 diff hist +18 N Branches Created page with " Git branch model:"
- 01:4401:44, 9 February 2024 diff hist +14 Git No edit summary
- 01:4201:42, 9 February 2024 diff hist −31 Bash git-prompt No edit summary current
- 01:4201:42, 9 February 2024 diff hist −6 Bash git-prompt No edit summary
- 01:4201:42, 9 February 2024 diff hist +410 N Bash git-prompt Created page with " ---automatically change the prompt when you're in a git directory--- <pre> ---[~/.bashrc]--- # uncomment these 5 lines to automatically show a different PS1 prompt when you enter a git directory GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 GIT_PS1_SHOWCOLORHINTS=true PROMPT_COMMAND='__git_ps1 "\u@\h:\w" "\\\$ "' source /usr/lib/git-core/git-sh-prompt ---[]--- </pre>"
- 01:4001:40, 9 February 2024 diff hist +21 Git No edit summary
- 01:3601:36, 9 February 2024 diff hist +669 N Setting aliases Created page with " <pre> creating an alias will probably save you a lot of time typing in long commands to create an alias either create one from the commandline or edit ~/.gitconfig on the commandline: git config --global alias.hist 'log --graph --all --oneline' NOTE: omitting '--global' will only set this alias for this repository editing the config file: --- [alias] hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --all --oneline --date=short --- or..." current
- 01:3601:36, 9 February 2024 diff hist +21 Git No edit summary
- 01:3501:35, 9 February 2024 diff hist +1 Creating a git repository from an existing project No edit summary current
- 01:3501:35, 9 February 2024 diff hist −58 Creating a git repository from an existing project No edit summary
- 01:3401:34, 9 February 2024 diff hist +1,023 N Creating a git repository from an existing project Created page with " ===creating a git repository from an existing project=== Assuming a project in ~/myproject containing all sorts of files and directories <pre> In the below example we use a local project called 'myproject' and upload it to the git server. - if the existing local 'myproject' isn't initialised with git yet, then do so now: $ git init $ git add . $ git commit -m "initial commit" - clone 'myproject' from your local project into a new local di..."
- 01:3401:34, 9 February 2024 diff hist −968 Git Replaced content with " Creating a git repository from an existing project" Tag: Replaced
- 01:3401:34, 9 February 2024 diff hist +884 Git No edit summary