{"id":66556,"date":"2020-12-30T13:17:21","date_gmt":"2020-12-30T18:17:21","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=66556"},"modified":"2022-02-16T16:06:30","modified_gmt":"2022-02-16T21:06:30","slug":"git-config","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/","title":{"rendered":"Git Config Recommended Settings"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-1024x538.png\" alt=\"\" class=\"wp-image-92777\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>\n\u201cGit config\u201d is not only a concept but a command. When first starting out with Git, a few configurations must be made right away. You can provide these configurations by running a few commands, but as you continue to use Git for more and more projects, you may have need more advanced configurations. In the latter case, you may find it helpful to create a configuration file that you can update and carry with you to other workstations \u2014 should the need arise.\n<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#config-commands\">Git Config Commands and Configuration<\/a><\/li><li><a href=\"#using-config-files\">Using Configuration Files<\/a><\/li><li><a href=\"#recommended-configuration\">Recommended Configurations For Git<\/a> <ul><li><a href=\"#name-and-email\">Name and Email Configuration<\/a><\/li><li><a href=\"#git-aliases\">Git Aliases<\/a><\/li><li><a href=\"#remote-repos\">Remote Repositories<\/a><\/li><li><a href=\"#text-editor\">Text Editor<\/a><\/li><\/ul><\/li><\/ul>\n\n\n<div class=\"jumbotron\">\r\n<p>If you don\u2019t need cPanel, don't pay for it. Only pay for what you need with our scalable <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud VPS Hosting<\/a>.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>CentOS, Debian, or Ubuntu    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>No Bloatware    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>SSH and Root Access<\/p>\r\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"config-commands\">Git Config Commands and Configuration<\/h2>\n\n\n\n<p> At the very least, in order to do a proper commit, Git requires that you submit your name and email address. You don\u2019t have to use your real name or real email address, but these details are necessary to personalize your commits. A Git project would be chaotic if there was no way to tell who committed what and when. <\/p>\n\n\n\n<p>\nThese commands provide the personal data necessary to get started. For your name:\n<\/p>\n\n\n\n<pre id=\"orgfb77d7f\" class=\"wp-block-preformatted example\">git config --global user.name \"Joe Example\"\n<\/pre>\n\n\n\n<p>\nAnd email:\n<\/p>\n\n\n\n<pre id=\"org29d6293\" class=\"wp-block-preformatted example\">git config --global user.email joe@example.com\n<\/pre>\n\n\n\n<p>\nThese commands will configure your Git installation at the system level.  But there are other levels for which you might to provide different configurations.  More on those locations and files below.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"using-config-files\">Using Configuration Files<\/h2>\n\n\n\n<p>\nUsing configuration files for Git can provide a lot of value for you.  First of all, you can more easily tweak and customize how you use Git.  And being able to find these settings in a convenient location can also help you backup and share those settings with other users or across workstations.\n<\/p>\n\n\n\n<p>\nGit will search three locations for configuration settings. Each successive level\noverwrites values from the previous level. For example, values set in the project (<code>.git\/config<\/code>) will overwrite those set for the system (<code>\/etc\/gitconfig<\/code>).\n<\/p>\n\n\n\n<p>\nLearning about these different levels as locations in your file system will help you make sure you provide the right configuration in the right place.\n<\/p>\n\n\n\n<dl class=\"org-dl\">\n<dt>System level<\/dt><dd>First, Git will look in the <code>\/etc\/gitconfig<\/code> file to identify any system-wide configurations.  You can pass configurations to this file by adding the <code>--system<\/code> option to the default <code>git config<\/code> command.<\/dd>\n<dt>Home level<\/dt><dd>The home directory file <code>~\/.gitconfig<\/code> contains the user level configurations that will only apply to the user.<\/dd>\n<dt>Project level<\/dt><dd>In the <code>.git\/config<\/code> file, values are saved in the project working directory or repository and will thus affect the project.<\/dd>\n<\/dl>\n\n\n\n<p>\nDepending on how, when, and where you plan on updating these files, it\u2019s up to you where you want to make these changes.  For the sake of simplicity I would recommend first setting up the home directory file, <code>.gitconfig<\/code>, because your settings will only apply to your user account.  If you plan on adding other users to your system, and you wish to apply some configurations globally or systemically then you would consider updating the other files as needed.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"recommended-configuration\">Recommended Configurations For Git<\/h2>\n\n\n\n<p>\nBelow you will find some recommended configurations for your local Git operations.  These types of configurations are ideal additions to your local <code>~\/.gitconfig<\/code> file that you will store in your home directory.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"name-and-email\">Name and Email Configuration<\/h3>\n\n\n\n<p> Of course, first and foremost, Git requires that you provide a name and email with which to sign commits from your account. Every commit you make in Git must have a name and email attached, as a way of attributing work to the right person. You can add these to your local Git config likewise: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted src src-conf\">[<span style=\"color: #b2baf6;\">user<\/span>]\n<span style=\"color: #f6df92;\">name<\/span> = Joe Example\n<span style=\"color: #f6df92;\">email<\/span> = joe@example.com\n<\/pre>\n\n\n\n<p>\nIf you do not have these values covered you will see an error when first trying to create a commit.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"git-aliases\">Git Aliases<\/h3>\n\n\n\n<p>\nAdding aliases to your Git config speeds up your command input.\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted src src-conf\">[<span style=\"color: #b2baf6;\">alias<\/span>]\n<span style=\"color: #f6df92;\">st<\/span> = status\n<span style=\"color: #f6df92;\">logg<\/span> = log --graph --decorate --oneline --all\n<span style=\"color: #f6df92;\">cm<\/span> = commit\n<span style=\"color: #f6df92;\">df<\/span> = diff\n<span style=\"color: #f6df92;\">dfs<\/span> = diff --staged\n<\/pre>\n\n\n\n<p>\nTo take an example from above, in order to run the <code>git status<\/code> command you can simply type <code>git st<\/code> and get the same result.  Notice that you can provide even long strings of options and combinations and nest them all in one truncated input line.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"remote-repos\">Remote Repositories<\/h3>\n\n\n\n<p>\nYou can also add remote repositories right from the config file. In the example below, you have a remote repository called \u201corigin,\u201d to and from which you can <code>push<\/code> and <code>pull<\/code>.\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted src src-conf\">[remote <span style=\"color: #ff5f87;\">\"origin\"<\/span>]\n<span style=\"color: #f6df92;\">url<\/span> = git@example.come:\/var\/lib\/git\/production.git\n<span style=\"color: #f6df92;\">fetch<\/span> = +refs\/heads\/*:refs\/remotes\/origin\/*\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"text-editor\">Text Editor<\/h3>\n\n\n\n<p>\nWhen you initiate a commit with the <code>git commit<\/code> command, you are prompted to enter your commit message in a text editor.  Here, you can specify which text editor you would prefer to use.  In the example below, the <code>emacs<\/code> text editor is selected, but you could instead use <code>nano<\/code>, <code>gedit<\/code>, <code>vim<\/code>, or whatever editor you use regularly.\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted src src-conf\">[<span style=\"color: #b2baf6;\">core<\/span>]\n<span style=\"color: #f6df92;\">editor<\/span> = emacs\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator\">\n\n\n\n<p>Now you know what settings you will need for a solid Git configuration.  Where will your Git journey take you next?<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-fundamentals-complete-beginner-guide\/\" target=\"_blank\" rel=\"noopener\">Git fundamentals (complete guide)<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-server\/\" target=\"_blank\" rel=\"noopener\">How to create your own git server<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\" target=\"_blank\" rel=\"noopener\">Launch a Gitweb installation with NGINX on Debian<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u201cGit config\u201d is not only a concept but a command. When first starting out with Git, a few configurations must be made right away. You can provide these configurations by running a few commands, but as you continue to use Git for more and more projects, you may have need more advanced configurations. In the<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4309],"tags":[],"class_list":["post-66556","post","type-post","status-publish","format-standard","hentry","category-git"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Git Config Recommended Settings | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Your Git config settings help you customize your Git operations at various levels, from setting up remote repos to custom aliases. Learn how.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Config Recommended Settings | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Your Git config settings help you customize your Git operations at various levels, from setting up remote repos to custom aliases. Learn how.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-30T18:17:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-16T21:06:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Git-Config.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"Git Config Recommended Settings\",\"datePublished\":\"2020-12-30T18:17:21+00:00\",\"dateModified\":\"2022-02-16T21:06:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\"},\"wordCount\":777,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-1024x538.png\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\",\"name\":\"Git Config Recommended Settings | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-1024x538.png\",\"datePublished\":\"2020-12-30T18:17:21+00:00\",\"dateModified\":\"2022-02-16T21:06:30+00:00\",\"description\":\"Your Git config settings help you customize your Git operations at various levels, from setting up remote repos to custom aliases. Learn how.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git Config Recommended Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git Config Recommended Settings | InMotion Hosting","description":"Your Git config settings help you customize your Git operations at various levels, from setting up remote repos to custom aliases. Learn how.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/","og_locale":"en_US","og_type":"article","og_title":"Git Config Recommended Settings | InMotion Hosting","og_description":"Your Git config settings help you customize your Git operations at various levels, from setting up remote repos to custom aliases. Learn how.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-12-30T18:17:21+00:00","article_modified_time":"2022-02-16T21:06:30+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Git-Config.png","type":"image\/png"}],"author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"Git Config Recommended Settings","datePublished":"2020-12-30T18:17:21+00:00","dateModified":"2022-02-16T21:06:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/"},"wordCount":777,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-1024x538.png","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/","name":"Git Config Recommended Settings | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings-1024x538.png","datePublished":"2020-12-30T18:17:21+00:00","dateModified":"2022-02-16T21:06:30+00:00","description":"Your Git config settings help you customize your Git operations at various levels, from setting up remote repos to custom aliases. Learn how.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/12\/Git-Config-Recommended-Settings.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-config\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Git Config Recommended Settings"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4309,"name":"Git","slug":"git","link":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/66556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=66556"}],"version-history":[{"count":8,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/66556\/revisions"}],"predecessor-version":[{"id":94198,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/66556\/revisions\/94198"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=66556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=66556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=66556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}