Currently I can only see the date that the commit was made on, but in Xcode 8 it included the actual time of commit. When you make multiple commits a day it is useful to see the time stamp.
Is there a way to turn on timestamps for the new Source Control tab in Xcode 9?
If you navigate to View > Version Editor > Show Log View and select your project folder (the root directory) on the left-most file navigation panel, you will see your commit history for the entire project with date and time in the Editor Panel. You can also select individual files to see their respective commit history.
Unrelated to XCode, you can always go to the terminal, navigate to your project directory and enter git log.
Related
I am using Eclipse (Photon 4.8.0) for a Git project. Before committing, I have been double clicking the files which appear in the unstaged changes section of the Git Staging View to remind myself of what I have changed before writing the commit message (I'm still new to Git so occasionally I will do several things before remembering that I have to commit my changes). However, double clicking on the file today merely opens the file, rather than opening the comparison view. I can still open the comparison view by right clicking the file and selecting Compare with Index but this takes more time and is frustrating.
As far as I know, I haven't changed any settings (not intentionally anyway). Can someone explain to me how to get back the behaviour I was seeing before please?
Make sure, in the Git Staging view toolbar the Compare Mode button is pressed.
See also EGit User Guide of the History view with the same icon.
Eclipse shows me with the symbol > which files I have modified, after the last repository update. Before commiting, I want to see the changes I made.
When I go right click->Team->Synchronize with repository I get exactly what I want. The problem is, I only get the view for this one file I clicked. I need to change the view back to Java, to be able to chose the next modified file.
Is it possible, to compare all modified files, one by one, with the latest edition from the repository, without changing the view after each file?
Instead of right clicking a specific file, you can right click the entire project and perform the same operation you describe.
I hid some files of a SVN repo by using the 'Remove from view' option. It's stated that they would show again in case of modification.
http://imgur.com/HEPRcF8
But now, Eclipse shows conflicts in my project, with absolutely 0 files with conflict.
http://imgur.com/2ZCOnwS
I'm thinking that it might be one of those files, but I can't find any way to show them again. So:
Is there a way to reset the repo view in Eclipse?
Is there another way to see where the conflict stated by Eclipse is coming from? When I use the svn command line, I don't see any conflict..
According to the Eclipse doc the file should reappear in the View if its conflicted:
Remove from View - removes the selected resource from the view. It
will reappear in the view if it's synchronization status changes.
File being in conflict should be considered as "synchronization status change", so I think that the removed-from-view file is not the conflicted one. I guess that you have a tree conflict in your working copy.
To determine the conflicted item, run the following command-line against your working copy:
svn status -q
The output of the command will show conflicted items only.
Hi I just installed Kepler and started using EGit. In the history view, changes checked in in the past are showing as xx days/weeks/months ago. Instead of these notations, I want to see the datetime details (or best to have both along side each other).
How do you config EGit to do that?
If it is not possible in the current config, I dont mind compiling my own patched version of EGit, please provide where the line of code lies.
Thank you
In the History view:
Click on the view menu (the triangle button)
Deselect Show > Relative Dates
Alternatively, change it in the preferences:
Go to Team > Git > History
Deselect Relative Dates
Okay, I have another newbie question. I'm starting to work with a remote code repository, remotehosting.com, and have been given a username, password, and URL. I've been able to successfully associate my project with a remote source code repository, have checked out/pulled down the source files, and have now made a small change to a single file. Here's where my questions start.
1) I can't see anywhere in my GUI where Xcode realizes that I have made a change to a file
2) How do I check my files back in?
I gotta be missing something. The docs I've been reading point to more menu items that I currently see under my SCM menu item. Anybody have any ideas? Thanks in advance for your assistance!!!
File -> Source Control -> Commit, Select the files that you want to commit, add a comment and hit commit button.
This is the flow for xcode 4
In Xcode 3...
The Project window should have a column which displays the SCM status for your files. This can appear both in the "Groups & Files" outline view in the left pane and the file list in the right pane. The icon for the column is a little cylinder shape, a black-and-white version of the yellow cylinder that's shown when you manage repositories. If this column is not displayed, you can right-click on the header of either of those panes to bring up a menu with a list of columns. Select "SCM" from that. The status will display as the same one-letter codes that SVN uses on the command line.
In order to commit files, you can either a) select the particular files, or group you want to commit and use the menu command SCM>Commit Changes..., or b) Select SCM>Commit Entire Project... (which I personally have bound to ⌥-⌘-C in the Xcode key bindings preferences).
Either of these will display a sheet in which you can enter your commit message; the text field in this is very handy in that it accepts the Return key as a newline, rather than passing it to the "Commit" button, but could be confusing the first few times. Press ⌘-Return to activate the button and perform the commit.