bash_profile: commit(){ git commit -m "$*" } alias gc=commit Simple and sweet. com/download/winDownload Link 2 https://gitforwi Apr 24, 2020 · 1. bash_profile command and do not have a current . for example you can use 'vi'. To prevent a dynamic profile from being generated, you can add the profile generator to the disabledProfileSources array in Dec 7, 2016 · 設定の確認. . Sep 11, 2019 · On windows you might need to start the ssh agent like this. bashrc Retry typing npp to start Notepad++. To ensure the . <name> には上述の設定項目(例えば user. name "Your Name". Apr 23, 2021 · First of all, open a terminal and write it: cd ~/. Next, you’ll need the file path to Git Bash’s shortcut. Sep 11, 2023 · Adding git commands to bash profile I am using OSX and wish to add a function in terminal to run a set of git commands. bash_profile, . Never had this kind of problem with git bash tho. Now set the PATH variable as described in the other answers. The default shell, a Bourne shell, reads commands from ~/. bash_profile and update any alias you add. Create your Bash file: touch . bashrc created in step 1. user. Indeed, this was the case, as my MINGW64 based Bash shell was started by an external windows app, and in a funny way, it was dumping me into a different directory. bash_profile is loaded by default. In any case, this is really a comment and not an answer so I am converting it to one. The point is: there is no set var=value in git bash as you would use in a CMD. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of Aug 12, 2019 · 新規タブの選択肢に Git Bash が追加されました! ※ここでは同様の手順で PowerShell Core 6 も 追加しています。. zshrc, we are referring to the "startup files" (or configuration files) used by these shells. Peter Mortensen. 1. 5. bash_profile in the same way and add the line. Click the Add a new profile. 上記の作業だけでも利用することはできますが、ロケールの設定が行われていないため日本語が文字化けしてしまいます。 Apr 25, 2022 · Open the app. Try opening a new tab/window in your terminal and retry. profile when it is invoked as the login shell. Update the username and password by opening in insert mode, change the password or username give :x and Cntrl+z keys it will save and exit. bashrc を読み込むようにしてくれている、という点には注意す Jan 23, 2012 · Here are the steps if you would like to create one: Type touch . For example, if you are a Windows user and want to set "Command Prompt" as the default terminal you can write: Jan 21, 2014 · This is the color Git Bash uses to show changed files with "git status". profile, not . 2) save the file. "Screen Text" is now still set to "Color 5". git config --global user. Next, run the git init command to initialize your new repository, as shown below. Therefore, I created a . Step 3: Select the path where you want to install git as shown in the image below. local, system, global Jul 29, 2014 · When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. git config user. gitconfig file located) at the end of the profile file. Step 2: Select the components that you need to install and click on the Next button. json file in this folder: Write the settings you want. 9. 60. Create . bashrc file contents are loaded each time you open Git Bash, edit ~/. bashrc を作成. . # 例. bash_profile, ~/. json file and set it to true. This will create the file in C:\Users\YOUR-USERNAME directory. And the solution on my VS Code 1. Oct 25, 2023 · 1. bashrc, I had to run source ~/. Jan 14, 2018 · どちらにせよ、 Git BASH の場合は ~/. git pull -u origin master. HOME="E:\git\home" It's really great, but I'm having a hard time integrating git bash in the profiles. bashrc on my installation as. C:\Windows\System32\cmd. You can also reset configurations using git config user. Close the application and relaunch it. my windows updates without my knowledge and needs to reinstall stuff. If you want to create a shortcut for it: Use MoveUp to move 'Git Bash' to the 1st position. py. name --unset. However, when bash is started as an interactive shell, it reads and executes commands from the ~/. Nov 7, 2019 · This short tutorial shows how to add the Git Bash shell that is part of Git for Windows to the Windows Terminal, make it the default shell, add it’s color profile and add a “Windows Terminal May 15, 2017 · Turns out, that it had to do in how the terminal is started. press i to go edit mode and update it with you alias command. 1 Copy the Powerline’s installation location. Btw you can change how git bash looks by right-clicking the executable you're running, selecting Properties, and changing the front name and size. Name it Git Bash, then naviagte tot he "Program Files" directory where the git-bash. In this case, of course, the . – Open up Windows Terminal. answered Nov 4, 2022 at 11:12. bashrc by running the command below in Git Bash. Now your git already change the language. 3 (May 2014) or later allows you to safely display that branch name(!) See commit 8976500 by Richard Hansen (richardhansen):. View GUI Clients → Logos Nov 6, 2011 · Title: Git Bash ; Command: C:\Program Files\Git\git-bash. Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. OSX starts login shells by default and that means that bash looks for ~/. Aug 3, 2018 · bash_profile is a configuration file for bash shell, which you access with your terminal on a Mac. Scroll down to the profiles section in the settings. Mar 2, 2018 · 2. The list might disappear if the VS Code is closed. If that still doesn't work, try looking for changes in the . Set guid to something unique. Press down CTRL + , (comma) or click the dropdown arrow to open the Settings. When we talk about . bash_profile files to configure Git Bash shell in Windows. I named it "NoGit Bash" in my config, and "Git Bash" still opens in a new window. If Notepad++ doesn't start, check the contents of the file ~/. bash_profile が無ければ作成し、自動的に ~/. To initiate the Git Bash console, click on the Start button, type git, and select Git Bash. That will display the previously configured information. profile, in that order, and reads and executes commands from the first one that exists and is readable. email johndoe@example. For terminal it may be useful to reference this issue; edited Jun 18, 2022 at 19:27. bashrc or . To confirm that Git Bash is successfully installed, open Windows Terminal and follow these steps: Open Windows Terminal: Launch Windows Terminal from the Start menu or using your preferred method. $ eval $(ssh-agent -s) > Agent pid 59566. e. bash_profile with your favorite editor (or you can just type open -e . ~/. sh in Git Bash and add it to your . name, user. 0 is also to rename Git Bash into GitBash. Either: manually re-source your ~/. 1) nano ~/. It reads commands from ~/. bashrc Mar 25, 2010 · I recently did a migration to a server running Ubuntu, and there, . explorer. bash_profile file] where the command is set up. bash_profile, it falls back to . The basic issue is the you will have to create user profile file like you do in Unix. bash_profile to edit your . Does anybody know what I have to do to get the bash shell to execute the bash_profile Set your HOME directory in Git Bash. Aug 22, 2015 · Background: At least in my installation, there is a piece of code in C:\Program Files\Git\etc\profile. Feb 10, 2024 · Restart the Windows Terminal: To apply the changes, you need to restart the Windows Terminal. Next, click Add a new profile. open . $ gc This is a really long commit message Share. PowerShell_profile file in your notepad, run notepad Aug 13, 2018 · When bash is started as a login shell, it reads and executes commands from the /etc/profile file, followed by the first one of the following files that exists and is readable: ~/. Create the file touch . bash_profile to reload . bash_profile if it is opened as a login shell. From the terminal emulator that you installed, install Git. Click Next. This will open a new tab with the Git Sep 3, 2021 · On the Select Components window, tick the checkboxes for Additional icons, Windows Explorer integration (Git Bash Here and Git GUI Here), and Add a Git Bash Profile to Windows Terminal. This will open profiles. Jul 21, 2018 · Or you can set it permanently for the session: export FLASK_APP=application. 4) source ~/. But I don't know where it is on mac. Now you can use open ~/. Add Git Bash terminal directly in your latest Windows Terminal and increase productivity. Add the following to the profiles []. Open settings with Ctrl+, or via the little down arrow. The one in vs code is started not in the login way (sorry, I'm not well versed in this), and reads . If you use iTerm, you can use CMD⌘ + Shift + I to enter a command into all current tabs. Below snapshot displays the values I used to create the profile. bash_profile and add the following two lines. But my Git Bash (2. This will open a new tab with the Git Oct 29, 2010 · Go to etc folder and open the file called profile (In my case, it's E:\git\etc\profile) Add absolute path to the home directory we created (or to the directory where you want to have your . git-bashでもよく使うコマンドをalias化しておこうと思ったものの ホームディレクトリに. You can figure out the location of Powerline by running the following: pip show powerline-status Copy the value from the Location field. This is useful for commands that just return some data so I didn't check it. bash_profile to . # - Or, set it to whatever else you want here. Enter nano . bashrcを作成. Set your username in Git. (Reference) Aug 23, 2013 · Make Git Bash re-source the ~/. bashrc. Jul 17, 2019 · bash_profile_course 소스 코드. Jul 8, 2021 · I just met a same problem. notepad ~/. Press Y and press Enter to save the file. exe /c ""C:\Program Files\Software\Git\bin\sh. Then it will work fine and your code will push or pull from a remote repository which belongs to other account. However that bash doesn't have a git command. bashrc and type it in there; b) you can type the path to conda. Dec 24, 2020 · 6. In VS Code, go to Command Palette (⇧⌘P) with Terminal: Select Default Profile or Terminal: Select Default Shell in older versions, then select available shell in this case, Git Bash, in the dropdown list. profile. bash_profile이 무슨 역할을 하는지 간단히 살펴보도록 합시다. Simply rename . Install Git Bash. Since it's an hidden file, you have to make it visible. As you read briefly in Getting Started, you can specify Git configuration settings with the git config command. Create a settings. Awesome, thanks @jaypal! May 15, 2024 · Creating a . VSCodeを起動します。 Jun 30, 2024 · Git Bash Installation. Select Git Bash Profile: In the dropdown menu, select the Git Bash profile. vi . bashrc in user's root folder using the below command. Add your SSH private key to the ssh-agent. Bash will use the first available -- if there's no . bashrc, which is sourced by bash in interactive non-login shells. check the alias command. email, and github. bash_profile ). ImportantDownload Link 1 https://git-scm. The last option is Jun 16, 2018 · your system may not have a [. exe in the Command Line section. To change the bash prompt read those answers: Where exactly Git Bash for Windows' prompt is defined? Alter Git prompt on Windows. Set your commit email address in Git. Open up the C:\Users\my_username\AppData\Local\Programs\Git\etc\profile file in a text editor, such as Microsoft VSCode. bashrc in there. それでは Git Bash を Windows Terminal で使えるよう設定していきましょう。. press escape. bash_profile from any directory: Apr 8, 2013 · git < 1. 7 # The Jun 11, 2020 · Configure Name: We can choose any name as per our choice, this is the name of the profile. bashrc is only loaded when Bash is running in "interactive" mode. To do it in Nautilus go to the "View" menu and check "Show hidden files" (or press the shortcut Ctrl + H ). This should open a new tab with Apr 9, 2022 · Windowsでは「Git Bash」でGitを操作することになります。 しかし、VSCodeのデフォルトで用意されているターミナルは「Git Bash」ではありません。 VSCodeの設定で「Git Bash」を使えるようにする必要があります。 VSCodeの設定を開く. bash_profile. なお、 Git BASH は ~/. If you run the open ~/. bash_history file. During debugging using Developer Tools, I found VS Code always "merge" object values with the default values of a same key, so: in VS Code, the Git Bash key has a default value of { source: "Git Bash" } May 29, 2024 · To hide a profile from your terminal dropdown menu, add the hidden property to the profile object in your settings. Type in desk to see if you get to the Desktop location or the location you want in the "DIRECTORY LOCATION" area above Jun 24, 2014 · This is what I personally use in my . bashrc 作成時点で ~/. exe ; Initial directory: $(SolutionDir) Note: Use Output window runs the command and puts any output into the Output window. Open the IntelliJ Settings window, then open "Tools -> Terminal", and add -i to the Shell path. Save profiles. Nov 1, 2018 · Try reinstalling git bash, i assume you path or program files messed up. Share. name "John Doe". Install a terminal emulator such as Termux from the Google Play Store on your Chrome OS device. bashrc every time a session was opened, which doesn't help when running remote deploys. 🟢 Join our Discord community: https://discord. export FLASK_DEBUG=1. PS. What should I do ? git; visual-studio-code; Share. Git for Windows provides a BASH emulation used to run Git from the command line. Git Bash emulates the Git command line experience that Unix environments have, for Windows users. May 6, 2019 · 0. bash_profile when it is invoked as the Jan 26, 2013 · If I try navigativing to the soegaardcykler. Change the value of a shell option and set the positional parameters. Confirm that you have set the Git username correctly: $ git config user. exe"' >> . In the installation folder for the git system there is miniature UNIX tree including a /etc/ folder in which the default configuration files are located. bash_profile file is getting executed twice and not each statement getting executed twice. 3. dk-folder as root and make a new dir, or go into an old, I'm able to do a git init, which I can't as /bin/bash domain-user. Windows should automatically remember your preferences for next time. After reading that file, it looks for ~/. It will open notepad and ask you to create the file, click yes. bashrc instead of . json file. Simply create one with touch ~/. The other command just open the explorer in the current directory, so you will se something like this: Here is our git-prompt. So, From then while you pull / push the code to the repository it will not ask for password. “name”: “Git-Bash” Configure Bash Path: In the commandline key, we will provide the path of bash. in vi, type i to be able to type. exe is C:\Program Files\Git\bin\bash. typing “gcm” instead of “git commit -m” greatly reduces the possibility of my Sep 25, 2022 · Create a profile for Git Bash in Windows Terminal. Git fow Windows のセットアップに Add a Git Bash Profile to Windows Terminal が追加されました。. email )を入れる。. You created your ". Next, create a file inside the same directory using the echo command. cd ~. source ~/. Put simply, Git Bash is an application for Microsoft Windows OS environments that provides Unix based shell utilities and experience for Git command line commands. bash_profile" file, but if you would like to edit it, continue reading with step 3. 2) add alias git='LANG=en_GB git' to the file. 2 Add the daemon with a proper location to . Nov 12, 2023 · Step 2: Checking Git Bash Installation. bash_profile in the home directory when it contains a . "hidden": true Prevent a profile from being generated. Bash sources . I've tried a few variations of arguments and whatnot of the following profile: But whenever I try selecting that profile, the terminal shortly displays a blank screen, then opens the default PowerShell terminal. Step 4 – Add Git Bash Profile. bashrc . Sep 24, 2020 · Now, there are a few ways you can do this: a) you can open your . But note that only git 1. 新規インストールする場合はこのオプションにチェックを入れるだけで本記事にある Mar 21, 2020 · git-bashでaliasを使うために. open your terminal and make sure you are in your home directory. Note: To open Microsoft. bashrc file and tried to make the same steps. d\bash_profile. The first command is to change your current directory to the /etc/profile. bash_profile-git This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. The correct file to place your settings is . 60. enter your line. type vi . Let‘s add our Git Bash profile here. gg/52NGrJwTKQ🎯 Check May 23, 2020 · It's the "correct" solution if you want a bash instance that doesn't open in a new window. bashrc, or: close and re-open all Git Bash terminal windows. At this point, the Git Bash should be successfully added. profile, in that order, and reads and executes commands from the first one Dec 23, 2022 · This video shows how to set up Windows Terminal with Git Bash. The git bash one (in its own window) is using the login to start and hence reads . name "Mona Lisa". $ git config --global user. Oct 6, 2014 · 1. answered Feb 23, 2021 at 14:04. bashrc but no . name "user name". 日本語対応. press Esc and press :wq (save and exit) now close and reopen the bash terminal. bash_profile などのファイルが存在しない. bashrc If your repo is of HTTPS repo, git config -e give this command in the git bash. Whenever Git Bash wants to use "Color 5" it will use the new RGB value. To run any scripts in . To set up user name in git: # set the user name as global (user level) configuration. bashrc file changes. But as it doesn't appear to be executed, I created the file manually. bash_profile file in your root directory. Updated: 6/22/2022. exe, so the key-value looks like this. Test . You'll want to look for user. 경험 있는 UNIX 프로그래머들도 직접 bash 파일을 작성하기보다는 다른 개발자가 작성한 코드를 가져다 쓰는 경우가 많기 때문에, 소스 코드를 하나하나 이해하기보다는 개괄적으로 이해해 보도록 하겠습니다. It signed me out so the next time I do a push, it asks me to enter my username and my password. Step 4: Let the installation process finish to begin using Git Bash. In your bash_profile file type - alias desk='cd " [DIRECTORY LOCATION] "' Refresh your User directory where the bash_profile file exists then reopen your CMD or Git Bash window. Set the executable Git path to C:\Program Files\Git\bin\bash. That program is a shell, i. Press Win + S to open Windows Search. Here is my solution to change git language follow answer this and this. The only way out was to do cd ~; pwd and put your . Name the profile Git Bash, or any suggestive name you’d like. If your username is user, the result would be: /home/user/. May 23, 2016 · You can see the current configurations, including username, with git config -l. C:\Users\<username>\AppData\Local\Programs\Git\etc\bash. For example, in Termux, enter apt install git and then type y when prompted. This command will Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific experience. bash_profile with your favorite tekst editor. export DATABASE_URL=postgres://someurl. sh which appears to be meant to create a . , a program designed to start other programs. Select the Git Bash Profile: Once the Windows Terminal is open, click on the dropdown arrow icon and select the “Git Bash” profile from the list of available profiles. However, IF after your restart terminal and it not working anymore, you need to. Jul 24, 2016 · Go to: Control Panel → User Accounts → Manage your credentials → Windows Credentials → under Generic Credentials there are some credentials related to GitHub. In order to update it, you should use the command. You can unset configurations using --unset, like git config user. Edit . Once in the Git Bash console, input the below git config command to register your name ( YourName) as your Git username. d/ that is where the file we need to edit is. com. Dec 8, 2019 · Git-Bash is installed as part of Git for Windows so I'd like to add this to the list and set is as the default shell. First open Windows Terminal and then select "Settings Jul 30, 2012 · Go to the folder where Git Bash is installed (usually C:\Program Files\Git) Go to usr/bin folder, i. When you open it, you’ll be met with the following warning: WARNING: Found Jun 27, 2022 · 6. Add this to the very top of the file: # CUSTOM CHANGE: change your home (`~`) dir to `C:\Users\my_username`. /)" return. export JAVA_HOME='{yourjavahome}' Restart Git Bash. I have my environment heavily tweaked at this point. It's a hidden file, located in your home folder: ~/. d folder and utilize the bash command PWD in order to lower the risk of spelling errors in the path. Add a Git Bash Profile To add a Git Bash profile to Windows Terminal, you first need to install Git Bash for Windows on your computer. So click on the original color that you have remembered. コマンドを実行した場所で有効になっている値が表示される。. Explore the process of installing Git with recommended default configurations and additional icon options. sh. Starting Git Bash Commands via the Start Menu. exe "$(winpath . bashrc from there; or c) you can open Git Bash in the profile. bash_login or . Click on them and click "Remove". after the verification push or pull you repository. WARNING: Found ~/. I found the default . bash_profile file in the nano editor) After making changes to the file use Control X (to "exit") Then it asks for the changes to be made permanently and gives two options: Yes (or) No. The target for the "Git Bash" Executable is. Jun 8, 2017 · To change the default terminal for your project in Visual Studio Code: Create a folder by name of . Add the following JSON object within the list array: May 21, 2021 · Open your git bash terminal and type this commands: explorer . Both bash and zsh (OSX default) are popular Unix shells, but they have different configuration files and some distinct features. bash_profile to open it in TextEdit. I will pick Git-Bash as my profile name. name = "new_username". For me, the path for bash. com". Sep 8, 2023 · Git Bash の設定. Being in the same dir as root and /bin/bash domain-user doing "git status" on both gives the normal git message as root, initial commit etc. hold shift and press z twice (z z) to save and quit. Just in case you are still wondering how to add a path permanently in git bash here is the step-by-step process for Windows users: Create . bashrc に書けば両方のケースに対応できるためこちらに書けば良さそうです。. Bash is a Bourne-like shell. bash_profile and press enter. We need to provide the path of the Git Bash. set, in bash, has another meaning. Set a Git username: git config user. Aug 25, 2015 · I have the same issue like Git for Windows doesn't execute my . Both bash and zsh subject the value of PS1 to parameter expansion, command substitution, and arithmetic expansion. if [[ $@ == '' ]]; then. If Git bash is opened, close it and reopen it again and type the following to make sure anaconda and python work without problems: conda --version. bash_profile to create your new file. Click the New empty profile button. Navigate on the left pane to "Add a new profile," and then under Add a new profile, select "+ New empty profile" Fill the form. exe" and choose the starting directory. Oh, you have mac. You can easily add this emulator to Windows Terminal by editing a few simple settings. name > Mona Lisa. email= "newEmail@gmail. python -- version. I rarely use it directly, so here is why: function explorer() {. The simplest way to know the already configured git (user name & email) is to type: $ git config -l. exe" --login -i". Aug 31, 2017 · Add PATH in Git Bash Permanently | Windows Only. json in your preferred text-editor. This is what worked for me. Jul 26, 2022 · 1. If you see the versions are printed, everything works well. Not quite. Make sure you have . bash_login, and ~/. Type . C:\Program Files\Git\usr\bin; There should be a file named "java" there. bash_profile explicitly sources the . bash_profile with your editor of choice, or just add the lines to the end of the file from the command line: echo "What you want to add" >> . (the ~ expands to your home directory. Open TerminalTerminalGit Bash. Add all private keys to your ssh-agent, if needed: Jan 5, 2011 · If you wish to reload your bash profile on every tab/shell, you need to enter this command manually in each of them. Change the current working directory to the local repository where you want to configure the name that is associated with your Git commits. See answers from experts and users with different versions and methods of Git for Windows. git init. Rename it to "notjava". When you install Git for Windows it comes prepacked with Git Bash, a Linux terminal emulator. bash_profile and . Navigate to your home directory cd ~/. bashrc file with . exe is found, most likely "C:\Program Files\Git\git-bash. exe. 値が設定されていない場合は何も表示されない。. The changes made in this way are permanent but only valid for the shortcut you have used to start Feb 10, 2024 · Restart the Windows Terminal: To apply the changes, you need to restart the Windows Terminal. Feb 8, 2021 · I have git installed in my D: but my VSCODE is in C: and when I try to set Git bash as default it dont show to me. Aug 8, 2017 · Try this: Open the bash terminal. It's a command line shell: you start another program by typing its name. To review, open the file in an editor that reveals hidden Unicode characters. that's it! May 17, 2012 · 0. bash_profile and run the install script again you might need to restart your terminal instance. flask run. bashrc file. Open Windows Terminal, click the v near the tab + symbol. vscode. PowerShell_profile: function gfa {git fetch --all} Then if you run gfa in your PowerShell or WindowsTerminal, then git fetch --all will be executed. One of the first things you did was set up your name and email address: $ git config --global user. Open up Git Bash and type in touch ~/. name "your_userName". Jul 30, 2011 · Learn how to create and edit . After that you can save from the top-left corner of screen: File → Save. 2. 0, 64bit on Windows 7, 64bit) doesn Apr 29, 2015 · 2. I. bash_profile, follow these steps to create one: Open Terminal. Type git bash in the search box, and when the app shows up in the search results, right-click on it and select Apr 13, 2016 · 55. email "example@email. Oct 31, 2015 · This is a little helper method that is not necessary for people with Cygwin, that will produce windows style path from the git bash style when pwd -W is just not enough. Jun 29, 2011 · Then I get So I know that the . Jan 11, 2016 · After navigating to your home directory, you can open . in Linux box, you can find it in ls /etc/skel/ -a , Then you can copy them into your home dir. For some reason, IntelliJ defaults to running Bash in non-interactive mode, but this is easy to change. bash_profile in my home directory with the code below: # Setting PATH for Python 2. and I believe this is the default location, or at least close to, for that. Select the Settings. json and Terminal should now Feb 3, 2019 · echo 'alias python="winpty python. Git BASH. As domain user I'm met with May 30, 2015 · For example, you want to create an alias for git fetch -all, then you need to add the following in the file Microsoft. Git Bash is particularly useful because it lets you run both Linux and Windows commands from the same terminal and access the underlying Windows file system. This auto-starts the ssh-agent, due to the script above you just added to your ~/. When you are opening git bash by right clicking on a folder, it is not opened as a login shell so bash does not source . If you do not want to travel to your home directory, you can adapt the code above to add lines to . # start the ssh-agent in the background. (Note that in this screenshot, I have also changed the default shell May 3, 2022 · Git Bash Terminal Settings 2. Most Windows users download Git Bash when they first install Git Nov 9, 2023 · By default, you only have the PowerShell profile configured. git config <name> で各項目の設定を確認できる。. if this didn't work create the . git-bashを起動すると以下のメッセージが表示される. Jan 17, 2017 · and add again username user name and email. Go to: C:\Users\ [youruserdirectory] \bash_profile. bash_profile (It will open the . – Nikko Khresna Git bash all the way. We will be adding a new profile for Git Bash. Edit your Bash profile: open -e . To test and see if the file is working, you can create a simple alias: In order for the change to take effect, you have to reopen Git Bash. ig mc de ku xj bz wv cz nf kr