What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-17 22:24:26
git workflow
GIT Commands and sudo-order of operations (* = not neccessary) 1. Initialize git git init <--perform in target directory 2. Create new branch *git branch <--check branch "inventory" git checkout -b <name> <---create AND switch... Add solution -
Shell/Bash 2021-10-19 05:10:10
Push to SQL Server
</pre> # Local Variables $base_path = "C:\Temp" $local_repo_name = "Blitz" $local_repo_directory = $base_path + "\" + $local_repo_name # Remote Variables $remote_repo_url = "https://github.com/BrentOzarULTD/... Add solution -
Python 2021-09-05 21:26:01
discord.py commands.group
@bot.group() async def git(ctx): if ctx.invoked_subcommand is None: await ctx.send('Invalid git command passed...') @git.command() async def push(ctx, remote: str, branch: str): await ctx.send('Pushing to {} {}'.format(remote, branch)) Add solution -
Shell/Bash 2021-08-29 12:22:01
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
Download and Install git in your windows from here: https://git-scm.com/download/win Then add its installation bin path to your windows's environment path. Then you will find the git command at the command prompt globally. This may solve you problem. ... Add solution -
Shell/Bash 2021-08-29 05:40:01
git alias
Follow below steps: a) Open the file .bashrc which is found in location C:\Users\USERNAME\.bashrc If file .bashrc not exist then create it using below steps: 1. Open Command Prompt and goto C:\Users\USERNAME\. 2. Type command notepad ~/.bashrc It generat... Add solution -
Shell/Bash 2021-08-29 02:27:02
git bash alias commands
Follow below steps: a) Open the file .bashrc which is found in location C:\Users\USERNAME\.bashrc If file .bashrc not exist then create it using below steps: 1. Open Command Prompt and goto C:\Users\USERNAME\. 2. Type command notepad ~/.bashrc It generat... Add solution -
Shell/Bash 2021-08-29 01:03:01
The file will have its original line endings in your working directory
# If you are a single developer working on a windows machine, # and you don't care that git automatically replaces LFs to CRLFs, # you can turn this warning off by typing the following in the git command line git config core.autocrlf true Add solution