Advanced Search
Search Results
180 total results found
Viewing the Commit History
After you have created several commits, or if you have cloned a repository with an existing commit history, you’ll probably want to look back to see what has happened. The most basic and powerful tool to do this is the git logcommand. These examples use a ver...
Limiting Log Output
In addition to output-formatting options, git log takes a number of useful limiting options; that is, options that let you show only a subset of commits. You’ve seen one such option already — the -2 option, which displays only the last two commits. In fact, yo...
Undoing Things
At any stage, you may want to undo something. Here, we’ll review a few basic tools for undoing changes that you’ve made. Be careful, because you can’t always undo some of these undos. This is one of the few areas in Git where you may lose some work if you do i...
Unstaging a Staged File
The next two sections demonstrate how to work with your staging area and working directory changes. The nice part is that the command you use to determine the state of those two areas also reminds you how to undo changes to them. For example, let’s say you’ve ...
Unmodifying a Modified File
What if you realize that you don’t want to keep your changes to the CONTRIBUTING.md file? How can you easily unmodify it — revert it back to what it looked like when you last committed (or initially cloned, or however you got it into your working directory)? L...
Working with Remotes
To be able to collaborate on any Git project, you need to know how to manage your remote repositories. Remote repositories are versions of your project that are hosted on the Internet or network somewhere. You can have several of them, each of which generally ...
Showing Your Remotes
To see which remote servers you have configured, you can run the git remote command. It lists the shortnames of each remote handle you’ve specified. If you’ve cloned your repository, you should at least see origin — that is the default name Git gives to the se...
Adding Remote Repositories
We’ve mentioned and given some demonstrations of how the git clone command implicitly adds the origin remote for you. Here’s how to add a new remote explicitly. To add a new remote Git repository as a shortname you can reference easily, run git remote add <...
Fetching and Pulling from Your Remotes
As you just saw, to get data from your remote projects, you can run: $ git fetch <remote> The command goes out to that remote project and pulls down all the data from that remote project that you don’t have yet. After you do this, you should ha...
Pushing to Your Remotes
When you have your project at a point that you want to share, you have to push it upstream. The command for this is simple: git push <remote> <branch>. If you want to push your master branch to your origin server (again, cloning generally sets up b...
Inspecting a Remote
If you want to see more information about a particular remote, you can use the git remote show <remote> command. If you run this command with a particular shortname, such as origin, you get something like this: $ git remote show origin * remote ori...
Renaming and Removing Remotes
You can run git remote rename to change a remote’s shortname. For instance, if you want to rename pb to paul, you can do so with git remote rename: $ git remote rename pb paul $ git remote origin paul It’s worth mentioning that this changes all yo...
Preface
Preface by Scott Chacon Welcome to the second edition of Pro Git. The first edition was published over four years ago now. Since then a lot has changed and yet many important things have not. While most of the core commands and concepts are still valid toda...
Accessibility
Folioz aims to be usable by as many individuals as possible, including those with disabilities or special needs. Creating accessible web content is a requirement in many countries. In order to provide international guidelines, the Web Content Accessibility Gui...
Your Dashboard
Overview You can change certain aspects of your dashboard, namely the user-specific information, but a lot of what you see is static to allow you to quickly access other parts of Folioz. Your homepage is your dashboard from which you can access a numbe...
Main menu navigation
The main menu is visible to all users and allows everyone to navigate to their content, portfolios, and groups. The main menu is the same for everyone Click the Main menu navigation icon to see a drop-down menu with the available options. Clic...
User menu navigation
The user menu is visible to all users. It allows you to access your account settings, inbox, and profile easily. The user menu is available to all users Click your profile picture to be taken to your profile page. Click the Arrow down icon in ...
User-specific information
The default dashboard includes the following blocks: Latest changes I can view My portfolios Inbox Topics I’m following These blocks are filled with content once you start using Folioz and create pages, receive messages from other users, have access to ...
Managing Your Privacy
Postz can be accessed by anyone with an internet connection, but some content is purposefully hidden from sight. The sections below show how members and groups can control privacy by using the granular adjustments available on the site. For more general infor...
Skins
You can create skins yourself, edit them, use other people’s skins, and use them on your portfolio pages and your profile page. Your Skins overview page Click the Create skin button to design a new skin. Click the Import skin(s) button to impor...