Please help in detail for adding file in backtrack


#1

i am stuck in adding file, please help in detail...


#2

@bhagyaaher are you on exercise 4, "more git add"?

After you make the required changes to scene-3.txt, click "Run," then do the same for scene-7.txt, you can add them both the Git staging area with:

git add scene-3.txt scene-7.txt

Then commit with:

git commit -m "Your commit message here"

Hope that helps!


#3

hello,

scene-7.txt file is empty i cant go on.


#4

You should click the file icon to open scene-7.txt.
If you clicked the cross button and type "scene-7.txt" to the input, you might create an empty file which replace the original scene-7.txt.
You can use the "$git checkout scene-7.txt" to restore the file.

Here is the original text in scene-7.txt:

Hamlet: Act 4, Scene 7

Another room in the castle.

Enter KING CLAUDIUS and LARRY

KING CLAUDIUS
Now must your conscience my acquaintance seal,
And you must put me in your heart for friend,
Sith you have heard, and with a knowing ear,
That he which hath your noble father slain
Pursued my life.

LARRY
It well appears: but tell me
Why you proceeded not against these feats,
So crimeful and so capital in nature,
As by your safety, wisdom, all things else,
You mainly were stirr'd up.

KING CLAUDIUS
O, for two special reasons;
Which may to you, perhaps, seem much unsinew'd,
But yet to me they are strong. The queen his mother
Lives almost by his looks; and for myself--
My virtue or my plague, be it either which--
She's so conjunctive to my life and soul,
That, as the star moves not but in his sphere,
I could not but by her. The other motive,
Why to a public count I might not go,
Is the great love the general gender bear him;
Who, dipping all his faults in their affection,
Would, like the spring that turneth wood to stone,
Convert his gyves to graces; so that my arrows,
Too slightly timber'd for so loud a wind,
Would have reverted to my bow again,
And not where I had aim'd them.

LARRY
And so have I a noble father lost;
A sister driven into desperate terms,
Whose worth, if praises may go back again,
Stood challenger on mount of all the age
For her perfections: but my revenge will come.