Git Credential Osxkeychain Is Not A Git Command

I was able to see there was a 401 auth required, then a 404 not found from github, with some osxkeychain in between. Though everything worked as expected in terminal and Github Desktop, for Sourcetree I had to create symlinks between the aws helper application (mine was in my Python directory but type "which aws" in terminal to find yours) and the git bin directory. this problem by updating the Command Line Tools. Note that the "git add" command can be used to add any number of files and folders to the index. You should see something like this: Usage: git credential-osxkeychain. That’s why I don’t understand why so much fuss about Git being incorporated into Visual Studio. When running git on Windows, the //host/path syntax works because the OS supports it natively - SMB remote paths can be used anywhere a local path can be used. Once you've confirmed you have the credential helper, enter: git config --global credential. I could trigger this after logging in, and after relaunching the app. This comment has been minimized. 3+ and doesn't need the osxkeychain helper provided by Git itself. Git natively supports ssh, git, http, https, ftp, ftps, and rsync protocols Note that SMB is not in the list. The square brackets themselves are not typed into the command line. Git is a major part of a developers work flow these days no matter what platform you work on. Developer Community for Visual Studio Product family. name and user. Note Current versions of Git for Windows include the Git credential manager as an optional feature during installation. I am using the credential. This enables some workarounds which enables TortoiseGit to be used with Msys2 Git (do not enable this for the Git for Windows package!). However I've verified that the string given to me by github is the correct one. git config --global --unset credential. What is git merge command? As the name suggests, the merge command is used to join the histories of two or more developments. The git config command is a convenience function that is used to set Git configuration values on a global or local project level. git that contains the skeleton files for a Git repository. json, but present in bower_components Any additional passed as an argument to this command When --save flag is used, all additional endpoint are saved to dependencies in bower. I decided not to make assumptions about the most common case and left all features off by default. Ever since we introduced PowerShell into NuGet, I've become a big fan. helper osxkeychain For Windows, there is a helper called Git Credential Manager for Windows or wincred in msysgit. exe from the command line. Git is free and open source software and many large organizations use it to manage their huge code base. If any ignored files were explicitly specified on the command line, git add will fail with a list of ignored files. I could not run the latest version of the Git changelog plugin with JDK 1. Bitbucket is more than just Git code management. and it should work automagically. this is not a valid source path git: 'credential-osxkeychain' is not a git command. By default Git will use the built in editor. Using Git's credential helpers 18 Feb 2015. Turns out (like most things in Git) this is very easy to do. and using a version of Git which includes the osxkeychain credential helper, hardcoded before all other helpers). Patches, suggestions and comments are welcome. By default, Docker looks for the native binary on each of the platforms, i. For example, if your main branch is the master branch and you started working on another branch called feature branch. Right now, we still have a private fork of Git for Windows but, over time, we are working to get all of those changes contributed back to the mainline. See the section called "General Settings" for more information. fatal: could not read Username for 'https://github. we had been using the sshagent workaround, but recently changed to using the "Checkout over SSH" git scm custom behaviour. Instead its git-credential-osxkeychain. You can change this by running the following command:. That's it again, iss. I know there was a problem I while back with the official Git version for Windows and I was always using the msysgit , don’t know if still is the case. helper osxkeychain # Linux: git config --global credential. So I'm new with Git and Github and I was following the instructions GitHub lays out to set up the environment. The following information might help you troubleshoot common issues when using Git credentials and HTTPS to connect to AWS CodeCommit repositories. Get Azure API Management Git Credentials using PowerShell One of the many great features of Azure API Management is the fact that it has a built in Git repository for storing the current configuration as well as publishing new configurations. editor “nameOfTextEditor -wl1” (‘-w’ wait, ‘l1’ cursor at line 1) git config –global color. Unfortunately, switching to ssh is not an option in this case. git config --global user. Finally use the following command: git config --global credential. Enable Git completion. Through the command line, you can use the credential helper directly to erase the keychain entry. When you connect to a Git repo in Azure Repos from your Git client for the first time, the credential manager prompts for your Microsoft Account or Azure. After that, you can enter your new/old credentials again after being prompted by git. Bitbucket gives teams one place to plan projects, collaborate on code, test, and deploy. The instructions below use the default bash shell used on Linux and macOS, but the Git commands will work in any shell, including Git Bash from Git for Windows. 问题描述: git 永久保存用户名密码,按照网上的资料。 $ git config --global credential. 3 see the version release notes) and authentication against Visual Studio Online. Before trying to access your Git remote repository, check if the connection to your remote hosted Git repository works. Deleting your credentials via the command line Through the command line, you can use the credential helper directly to erase the keychain entry. Install one of the following Git command-line tools: To install Git for Windows, including Git Credential Manager, see Install Git Credential Manager for Windows. Assembla is the only multi-repository platform in the world offering Git, Perforce and NextGenSVN in the cloud. Create a new repository on GitHub. git config --global --unset credential. Often, access to a remote Git repository on a server will be restricted: you probably don't want to allow anybody to read (or at least not write to) your files. I could trigger this after logging in, and after relaunching the app. json` changed. The first approach. properties file) to the full path to the git executable. On successful uploads a link to the code review is printed in the output of the upload command. If your repository uses an SSH remote URL, you will need to switch the remote from SSH to HTTPS. The GitHub plugin should be used if GitHub is the Git server of choice (Using GitHub with Jenkins blog). Note After you remove git-credential-osxkeychain from the list, you see a pop-up message whenever you run a Git command. helper wincred 这个就解决了。. As you get more comfortable with Git, you might prefer to do more and more via the command line. php, Simple. helper osxkeychain Finally at this point type in git credential-osxkeychain again and you should get the usage message from Step 11a. I recommend staying with File system caching, and if you're going to use a remote repository, enable Git Credential Manager. [credential] helper = osxkeychain. A top-level Git command may spawn numerous child Git commands and shell scripts. Under Linux you can specify a credentials file that will feed your details into the process. Some users might want only Gmail with their domain; some just want to point their domain to their blog; others want to run their entire company on G Suite with Gmail, Calendar, Contacts, Drive, Calendar, Hangouts, Sites, etc. git commit -m "" git push Remember, the order of command is more important. All source code included in the card Git: Delete a branch (local or remote) is licensed under the license stated below. Git may not have been designed as a deployment tool, but for small projects it can do the job quite nicely. NamedRemoteFetchAll. When you connect to a Git repo in Azure Repos from your Git client for the first time, the credential manager prompts for your Microsoft Account or Azure. 1 cpu: x86_64 built. For more detail, check out the Atlassian Git Tutorials for a visual introduction to Git commands and workflows, including examples. AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositories. md Above command will tell git to cache your password for 8 hours. The 'git init' command created a new subdirectory named. Due to security reasons the password for your SSH key will not be displayed in the tool. Step 12: OK, let's test all of this to make sure it works by performing a commit to our GitHub account. Using VNC to connect to the build machine and run the instructions provided prompts me the first time, as expected, but not for any subsequent git clone commands, and successfully adds the credential. com': Device not configured" Utils. git config --global credential. When you push or pull to a private repository over HTTPS, you are not prompted for a password. If the helper name is not an absolute path, then the string git credential-is prepended. The CLI is built with Node. Enable Git completion. It makes it easy for teams to collaborate on code in a secure and highly scalable ecosystem. We’ve done the hard work and chosen between the multiple options at key steps to help make things easier for you. For more detail, check out the Atlassian Git Tutorials for a visual introduction to Git commands and workflows, including examples. Git has too many commands, and I am not a command line guy. Git it? Git it? Sorry. The credential manager creates the token in Azure DevOps Services and saves it locally for use with the Git command line or other client. helper wincred # obsolete. helper wincred # obsolete. I've been able to push LFS object to GitHub and can do normal pushes to our gitlab server. # MacOS: git config --global credential. we had been using the sshagent workaround, but recently changed to using the "Checkout over SSH" git scm custom behaviour. git credential-osxkeychain usage: git credential-osxkeychain # to configure git to use it: git config --global credential. Windows Credential Store for Git is “a small helper app designed to follow the git credentials API as defined by the Git Documentation” that hooks into Windows Credential Store to allow you to store login information. visualstudio. When I try to push committed changes back to the repo from command line on Mac OS X git push I get the following message: git: 'credential-osxkeychainit' is not a git command. Note that Git LFS does not support negative patterns like. We use cookies for various purposes including analytics. helper store. Signed tags are not yet supported by EGit, use command line git tag -s instead. For Windows, you can use wincred or Microsoft's Git Credential Manager for Windows. gitignore does. $ git credential-osxkeychain Usage: git credential-osxkeychain 没有安装认证助手的话,会显示以下的内容。 $ git credential-osxkeychain git: 'credential-osxkeychain' is not a git command. A submodule is a reference from one Git repository to one or more other repositories. When Git needs authentication for a particular URL context, credential-store will consider that context a pattern to match against each entry in the credentials file. But a group of tools is making it simpler by providing GUI alternatives to Git command line. Create a directory for your project and pull in this library. (Optional) To make Git remember your username and password when working with HTTPS repositories, configure the git-credential-osxkeychain helper. You added a new feature e. md Above command will tell git to cache your password for 8 hours. Click Start Menu and type “Git Bash” and press Enter to open the Git command line (if it is not already open) 2. git config --global. php directly in the skins/ directory as well as the according subfolders inside the skins/ directory got removed. If the helper name is not an absolute path, then the string git credential-is prepended. Git Integration and Preferences; Git Integration. On successful uploads a link to the code review is printed in the output of the upload command. If you’ve named your origin already you should just be able to run “git pull” without naming the source. JENKINS-20941 - Credentials and Submodules. When you previously used git commit for committing the first hello. Git credential manager for windows comes up, i enter the same name and password i used to get into gitlab but returns "remote: HTTP Basic: Access denied fatal: Authentication failed for. Random failure to detect new commit with 'credential-' is not a git command error:. If you've decided this a per repository setting, cd to your repo and in that repo run git config credential. gitignore does. Re: git clone is not working for a private repo I realize the initial post has "triangle" misspelled. After that, you can enter your new/old credentials again after being prompted by git. exe from the command line. Secure Git, software development and source code management in the cloud. Regards, Niharika Gupta. Of course, Git is just a platform and it requires a provider, if you are not going to setup your own infrastructure. Now that we got Git running, it is time to set up SSH keys for Git, so that we don’t need to input password every time. This allows you to store your 2FA token and not get asked for it everytime. git show –name-only {commit} You can replace {commit} with the SHA1 you want to retrieve, or things like HEAD or HEAD^^ I made this post into a YouTube video. git version 1. Git is a major part of a developers work flow these days no matter what platform you work on. Any suggestions on how the plugin could have detected and isolated that problem for you? There is an ongoing pattern of authentication issues which users encounter. You don’t necessarily need to build complicated build pipelines or continuous integrations to implement an ALM process. Git does periodic repacking automatically, but manual repacking is also possible with the git gc command. You can enter it in either HTTPS or SSH format. I already have Git installed. Create a directory for your project and pull in this library. CI/CD Pipeline for OpenWhisk Functions Using Whisk Deploy Teams typically develop OpenWhisk functions using IBM Cloud‘s user interface. An Illustrated Guide to Git on Windows About. editor “nameOfTextEditor -wl1” (‘-w’ wait, ‘l1’ cursor at line 1) git config –global color. In the code review tool you can assign reviewers and mark the change ready for review. If you do not, follow step 2 on the GitHub help page. Executing showed nothing on my console, so I added the credential store like this: git config --global credential. All source code included in the card Git: Delete a branch (local or remote) is licensed under the license stated below. The following listing shows the output of the git log --oneline command of a Git repository with bad commit messages. git config --global credential. After installing the package for your platform, run the following command to configure Git to use the credential manager : > git-credential-manager install Using the Git Credential Manager. message "github: command not found" every single time I push something to git I've noticed that when pushing to or pulling from a github enterprise remote server, RStudio tries following command : github --credentials get. html have been staged. If you move to a different repo, you must remember to start with a harmless git command to update the prompt first. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. The C version links against the Security framework and is probably the best choice for daily use. You might have seen early Go talks in which Rob. Follow the instructions given by git cl upload. bash_profile, ~/. The cool thing is that like all other times you use the command palette, you don't have to enter the entire command. md Above command will tell git to cache your password for 8 hours. git config --global credential. So I'm new with Git and Github and I was following the instructions GitHub lays out to set up the environment. We can't just call "git submodule update" since it may be possible (however unlikely!) that each submodule wants to use a separate credential. An easy way to test this is to launch a command prompt and type git. helper, and it returns osxkeychain, Git is set to use the Keychain Access utility. I installed the latest version of GIt for windows and I installed the credential manager. netrc file on Windows to save user and password Git will not resolve your credentials via Use a command like coursera-dl -n --path. This might be easier to understand with an example. When you first begin using Visual Studio with Git on your dev machine, if you begin by cloning from a Git team project, then Visual Studio fills these in for you. GitHubWebHook and you'll see the log of Jenkins trying to install a post-receive hook. This shows usage of a simple build wrapper. However, Git does not cache the user's credentials by default, so you need to re-enter them each time you perform a clone, push or pull. Windows Credential Store for Git This application is a small helper app designed to follow the git credentials API as defined by the Git Documentation. For Linux, you can use gnome-keyring(or other keyring implementation such as KWallet). [PATCH] contrib: add a pair of credential helpers for Mac OS X's keychain This credential helper adds, searches, and removes entries from the Mac OS X keychain. Can anyone give me. We briefly discussed git config usage on our Setting up a Repository page. Secure Git, software development and source code management in the cloud. $ git credential-osxkeychain Usage: git credential-osxkeychain 没有安装认证助手的话,会显示以下的内容。 $ git credential-osxkeychain git: 'credential-osxkeychain' is not a git command. The default is false. To learn to commit to the repository; 01 Committing changes. The first approach. You can do this easily in Jest by simply appending this to the test command: jest --coverage --changedSince=master. We can't just call "git submodule update" since it may be possible (however unlikely!) that each submodule wants to use a separate credential. Windows Credential Store for Git This application is a small helper app designed to follow the git credentials API as defined by the Git Documentation. By continuing to browse this site, you agree to this use. However I'm having trouble with the Password Caching Instructions. This post covers some of the best Git GUI clients available for the Windows 10/8/7 operating system. In this Ask the Admin, I’ll show you how to use Git source control via this. ui true Set color in command line. ’ which will add all the files or you can add the files by name. After removing git-credential-osxkeychain from the list, you will see a pop-up dialog whenever you run a Git command. I decided not to make assumptions about the most common case and left all features off by default. You added a new feature e. There are at least three ways to avoid typing your password repeatedly when using git. See 'git --help'. OK, I Understand. We’ve added a few aliases for commands we haven’t yet discussed. With Git versions before 1. (Useful for excluding slow-loading network directories. git directory, namely 'fatal: /usr/lib/git-core/git-stash cannot be used without a Downloads: 0 This Week Last Update: 2013-12-10 See Project. Though everything worked as expected in terminal and Github Desktop, for Sourcetree I had to create symlinks between the aws helper application (mine was in my Python directory but type "which aws" in terminal to find yours) and the git bin directory. Either wireshark, tcpdump or output from Charles would be perfect if you could supply it. git-credentials does NOT exist in my system on a home PC (Fedora 28), and that is exactly the issue. bash_login, and ~/. The Git credential cache runs a daemon process which caches your credentials in memory and hands them out on demand. git: 'credential-osxkeychain' is not a git command. I installed the latest version of GIt for windows and I installed the credential manager. On your computer, enable caching your GitHub HTTPS credentials. 9 or above, your computer will prompt you to download it as a part of the Xcode Command Line Tools:. I think it's great, yet I've heard from so many other developers that they have no time to try it out. Editor that git. Get Azure API Management Git Credentials using PowerShell One of the many great features of Azure API Management is the fact that it has a built in Git repository for storing the current configuration as well as publishing new configurations. com protocol=https > [Press Return] If it's successful, nothing will print out. This will test only new code that has not yet been pushed into the master branch. The command (1) fetches the changes from your upstream repository at git. Note that if you have 2FA on your github account, you will need to use Personal Access Tokens instead of password. Can be used to save or apply permissions or other kinds of data that git does not handle. For more information, see For HTTPS Users Using Git Credentials and Git for Windows: I installed Git for Windows, but I am denied access to my repository (403). These run in your checked-out repository, rather than on the git-server. helper osxkeychain # Linux: git config --global credential. helper winstore. helper store stores them unencrypted in a plain text under ~/. git credential-osxkeychain usage: git credential-osxkeychain # to configure git to use it: git config --global credential. Hi List, A recent update to git 1. 9 or above, your computer will prompt you to download it as a part of the Xcode Command Line Tools:. helper 'osxkeychain'. The credentials R package provides a wrapper around the git credential command line API for reading and saving credentials. The GCM provides a lot of great features to make authentication seamless: Secure password storage in the Windows Credential Store; Multi-factor authentication support for Visual Studio Team Services. I am still getting git: 'credential-cache' is not a git command. helper osxkeychain. My current environment is Windows 8, msysgit, with the git-credential-winstore tool installed. TEAMCITY_GIT_PATH property in the agent's buildAgent. 问题描述: git 永久保存用户名密码,按照网上的资料。 $ git config --global credential. It would be very interesting to get Trevor a copy of a network trace when you are using the command line tools vs when you are using XCode 5. name "Your Full Name" git config --global user. The GitWCRev Program The. Git natively supports ssh, git, http, https, ftp, ftps, and rsync protocols Note that SMB is not in the list. In this case, this is the URL to access Git on your Beanstalk account. bundle config local. However was able to add a commit and then issue Git Push. I tried using git credential-osxkeychain erase at the command line, I don't know how it's supposed to work but it didn't unset the use of the credential helper, and I couldn't find documentation on that. Use $(Build. OK, I Understand. Enable Git completion. Pretty sure the credentials for all the repositories I have open are already in SourceTree as I can update, commit, etc without issue so I'm not sure why the popups keep appearing. The Git credential cache runs a daemon process which caches your credentials in memory and hands them out on demand. php directly in the skins/ directory as well as the according subfolders inside the skins/ directory got removed. git config --global credential. This is a special step that allows to run checkouts using any configuration options offered by any Pipeline-compatible SCM plugin. This happens e. The GitHub plugin should be used if GitHub is the Git server of choice (Using GitHub with Jenkins blog). Git natively supports ssh, git, http, https, ftp, ftps, and rsync protocols Note that SMB is not in the list. Probably most of us experience the scenario below when using Git in Ubuntu. The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history: Removing Crazy Big Files; Removing Passwords, Credentials & other Private data; The git-filter-branch command is enormously powerful and can do things that the BFG can't - but the BFG is much better for the tasks above, because:. 问题描述: git 永久保存用户名密码,按照网上的资料。 $ git config --global credential. Right now, we still have a private fork of Git for Windows but, over time, we are working to get all of those changes contributed back to the mainline. In order to not having enter your git based password every time you perform a git operation, here's how you can store the git password in the Mac OSX keychain: Check if you have the credential-osxkeychain helper already installed: git credential-osxkeychain. Using git, the right way. Find the credentials related to your git account and edit them to use the updated passwords as per the image below: I hope this helps with your Git issues. Mergetool¶ Merge tool used to solve merge conflicts. When working with remotes, certain actions like Clone, Fetch, Push and Pull require authentication. This is SourceTree's custom authentication helper which manages your credentials for you. helper winstore Linux. Or you can use store helper instead. It’s based on git , a “distributed version control system” that allows you to save different versions of files without having to give each version a unique filename (as you might be wont to do on your own Mac or PC!). It's a distributed version control system. One common argument you will need in performing some tasks is the compartment ID. helper wincred For Mac: git config --global credential. Either wireshark, tcpdump or output from Charles would be perfect if you could supply it. git config --global credential. git rebase is really powerful however I mostly find myself using it to rebase the commits in order to have a clean history. Yes (some conflicts can be resolved only at command prompt). On normal conditions, this would trigger a graphical pop-up asking for permission for this new application to access said item, but in this case he fails to launch the pop-up and therefore, rejects the action. If you want to work with Git locally, but don't want to use the command line, you can instead download and install the GitHub Desktop client. So yes, needing to do “git pull” (or “git merge” or “git rebase”) to get the latest changes into your app-cli/modules directory is to be expected, and no, you did not do something wrong. First we need to create alternative credentials in such way we can login to the GIT repository in visual studio online from the command line. Can't install Git. git init, add, commit work as expected, but when I # touch. Installing and configuring Git on Linux is a very straightforward process as Git was natively developed for the Linux platform. SourceTree uses its own git from version 1. Either there are no git-related files in my system that would contain my password in plaintext, or KFind doesn't see them. helper osxkeychain If you don’t have the credential helper installed or if you’re using an operating system other than OS X, read GitHub’s new Caching your GitHub password in Git guide. If no credentials are available, it will attempt to prompt the user for credentials and return those instead. NamedRemoteFetchAll. Ask LH: How The Heck Do I Use GitHub? Adam Dachis. The name of an external credential helper, and any associated options. bash_profile, ~/. You have the option of using a client library with your programming language of choice, or you can use the command line client and have some bash scripts for your regular tasks. However was able to add a commit and then issue Git Push. Special thanks to David who had to do the 'hard work'. Jenkins works with Git through the Git plugin. I connected with bitbucket and I installed Git and sourcetree in my computer and I try to connect sourcetree and bitbucket together. If you don't get a list of git commands, then it's not set up correctly. Follow the instructions given by git cl upload. Git's root command for the credential-helper system is git credential, which takes a command as an argument, and then more input through stdin. Installation and. in the /usr/local/bin directory. on the Grub Splash Screen Choose MX Linux as Startup System:. we had been using the sshagent workaround, but recently changed to using the "Checkout over SSH" git scm custom behaviour. That's why I usually use SmartGit , a Git software with user interface that supports Mac. Hi *, I'm very new to git and I'm trying to share a git repo on a Centos 5. Git-client based workflows. Jenkins is an open source automation server, which will help you to automate the application deployment in your infrastructure. MediaWiki 1. The manual for git-clone says:. 2 and a new version of posh-git; the PowerShell scripts have been changed to address issues raised by commenters. helper wincred, which sets the credential helper to wincred. Approve code review more efficiently with pull requests. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: